/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.bsplus.dao;

import java.util.List;
import org.bsplus.domain.User;

/**
 *
 * @author sam
 */
public interface UserDAO
{
    User getUser(Long id);

    User getUser(String username);

    List<User> getAllUsers();

    void saveOrUpdateUser(User user);
}
